From 0def739d77c14b570cf30b6156afea0f5929b038 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 7 Dec 2017 11:08:41 +0100 Subject: [PATCH] pdx: correct indentation Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- xen/common/pdx.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/xen/common/pdx.c b/xen/common/pdx.c index c991a09522..1a2100c9d9 100644 --- a/xen/common/pdx.c +++ b/xen/common/pdx.c @@ -42,19 +42,20 @@ bool __mfn_valid(unsigned long mfn) /* Sets all bits from the most-significant 1-bit down to the LSB */ static u64 __init fill_mask(u64 mask) { - while (mask & (mask + 1)) - mask |= mask + 1; - return mask; + while (mask & (mask + 1)) + mask |= mask + 1; + + return mask; } u64 __init pdx_init_mask(u64 base_addr) { - return fill_mask(base_addr - 1); + return fill_mask(base_addr - 1); } u64 __init pdx_region_mask(u64 base, u64 len) { - return fill_mask(base ^ (base + len - 1)); + return fill_mask(base ^ (base + len - 1)); } void set_pdx_range(unsigned long smfn, unsigned long emfn) -- 2.30.2